const fp = require('lodash/fp')

// 题干提供的一个方法
let _underscore = fp.replace(/\W+/g, '_')

const sanitizeNames = fp.flowRight(fp.map(_underscore))

console.log('sanitizeNames的结果是', sanitizeNames(['Hello World']))
